Skip to content

Make the m in BmMT small-caps in uppercase alert headers#78

Closed
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
devin/1775455301-bmmt-smallcaps
Closed

Make the m in BmMT small-caps in uppercase alert headers#78
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
devin/1775455301-bmmt-smallcaps

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot commented Apr 6, 2026

Summary

In the alert shortcode's uppercase header, "BmMT" was rendering as "BMMT" (all same-size capitals). This change makes the "m" render as a small capital instead, by replacing "BmMT" in the alert title with a span that overrides text-transform: none and applies font-variant: small-caps.

Only the alert shortcode (templates/shortcodes/alert.html) is modified — nav links, event cards, and macros are unchanged.

Review & Testing Checklist for Human

  • Check the deploy preview on any page with a BmMT alert (e.g. BmMT 2026 logistics) — the alert header should show "BmMT" with the "m" as a small capital
  • Verify alerts without "BmMT" in the title still render normally as uppercase

Notes

Uses Tailwind arbitrary property syntax: [text-transform:none] and [font-variant:small-caps] on the BmMT span within the uppercase <p> tag.

Link to Devin session: https://app.devin.ai/sessions/0e2e236fa211468c9f8a47903a3c75cd
Requested by: @oliver-ni

- Revert alert headers back to uppercase
- Add small-caps styling to BmMT in nav links and event cards
- Update nav_link/mobile_nav_link macros to support safe HTML labels
- Add bmmt shortcode for use in markdown content

Co-Authored-By: Oliver Ni <oliver.ni@gmail.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

- Revert nav link, event card, and macro changes
- Remove standalone bmmt shortcode
- In alert shortcode, replace 'BmMT' in title with a span that
  overrides text-transform:none and applies font-variant:small-caps
  so the 'm' renders as a small capital within the uppercase header

Co-Authored-By: Oliver Ni <oliver.ni@gmail.com>
@devin-ai-integration devin-ai-integration bot changed the title Make the m in BmMT render as small-caps Make the m in BmMT small-caps in uppercase alert headers Apr 6, 2026
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

Closing — user decided to drop the small-caps change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant